//
//  CDCell.h
//  CarLife
//
//  Created by yu on 2019/4/2.
//  Copyright © 2019年 jpas. All rights reserved.
//

#import <UIKit/UIKit.h>

@class PhotosContainerView,CommunityModel;

NS_ASSUME_NONNULL_BEGIN

typedef void(^IconTapBlock)();

@interface CDCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIImageView *iconImgView;
@property (weak, nonatomic) IBOutlet UILabel *nicknameLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;
@property (weak, nonatomic) IBOutlet PhotosContainerView *photosContainer;

@property (nonatomic, strong) CommunityModel *cModel;

@property (nonatomic, copy) IconTapBlock iconTapBlock;

//+ (instancetype)initTableViewCellWith:(UITableView *)tableView
//                            indexPath:(NSIndexPath *)indexPath;

@end

NS_ASSUME_NONNULL_END
